
<?php

class Ghengoi_model extends CI_Model{
    private $tbl='ghengoi';
            function __construct() {
        parent::__construct();
    }
    function load_by_SG($SG,$MSLMB){
        $DB=$this->load->database('nhanvien',TRUE);
        return $DB->get_where($this->tbl,array('GHESO'=>$DB->escape($SG),'MSLMB'=>$DB->escape($MSLMB)));
    }
}
